type go/types.genericType
7 uses
go/types (current package)
instantiate.go#L21: type genericType interface {
instantiate.go#L59: orig_ := orig.(genericType) // signature of Instantiate must not change for backward-compatibility
instantiate.go#L90: func (check *Checker) instance(pos token.Pos, orig genericType, targs []Type, expanding *Named, ctxt *Context) (res Type) {
object.go#L590: case genericType:
signature.go#L236: if g, _ := baseType.(genericType); g != nil && g.TypeParams() != nil {
typexpr.go#L425: gtyp := typ.(genericType)
typexpr.go#L438: inst, _ := ityp.(genericType)
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)